package com.mimniot.environment.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @description: 设备控制
 * @Author LQ
 * @TIME 2023/10/27 15:10
 */
@Data
public class EquipmentControlVO {

    @ApiModelProperty(value = "id")
    private String  id;

    @ApiModelProperty(value = "泵房")
    private String  pumpHouse;

    @ApiModelProperty(value = "状态 1 开启 0 关闭")
    private Integer state;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "图片url")
    private String imageUrl = "https://pic.vjshi.com/2021-07-30/ebabfee7e454d4e69b6dcef7d20d6efc/online/e30118c269e84aa69135d04d8a3d1932.jpg?x-oss-process=style/resize_w_720";


    @Data
    public static class water {

        @ApiModelProperty(value = "id")
        private String id;

        @ApiModelProperty(value = "水泵名称")
        private String waterPumpName;

        @ApiModelProperty(value = "状态 1 开启 0 关闭")
        private Integer state;
    }

    private List<water> waters;

}
